// These commands were removed from mongos since the last LTS version, but will still appear in the
// listCommands output of a last LTS version mongos. A last-lts mongos will be unable to
// run a command on a latest version shard that no longer supports that command. To increase test
// coverage and allow us to run on same- and mixed-version suites, we allow these commands to have a
// test defined without always existing on the servers being used.
export const commandsRemovedFromMongosSinceLastLTS = [
    "waitForOngoingChunkSplits",
    "_getAuditConfigGeneration",  // Removed in 8.1
];

// These commands were added in mongos since the last LTS version, so will not appear in the
// listCommands output of a last LTS version mongos. We will allow these commands to have a test
// defined without always existing on the mongos being used.
export const commandsAddedToMongosSinceLastLTS = [
    "_clusterQueryWithoutShardKey",
    "_clusterWriteWithoutShardKey",
    "abortMoveCollection",
    "abortUnshardCollection",
    "cleanupStructuredEncryptionData",
    "cpuload",
    "createUnsplittableCollection",
    "getDatabaseVersion",
    "fsyncUnlock",
    "lockInfo",
    "moveCollection",
    "setQuerySettings",
    "removeQuerySettings",
    "unshardCollection",
    "untrackUnshardedCollection",  // TODO (SERVER-96072) remove once the command is backported.
    "changePrimary",
    "autoSplitVector",
    "transitionFromDedicatedConfigServer"
];
